﻿using Microsoft.Xna.Framework;

namespace BlockeyEssentials.Input
{
    public static class InputManager
    {
        public static KeyInput     Keyboard = new KeyInput();
        public static GamePadInput GamePad1 = new GamePadInput(PlayerIndex.One);
        public static GamePadInput GamePad2 = new GamePadInput(PlayerIndex.Two);
        public static GamePadInput GamePad3 = new GamePadInput(PlayerIndex.Three);
        public static GamePadInput GamePad4 = new GamePadInput(PlayerIndex.Four);

        public static void Update()
        {
            Keyboard.Update();
            GamePad1.Update();
            GamePad2.Update();
            GamePad3.Update();
            GamePad4.Update();
        }

    }
}
